﻿using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Collections.ObjectModel;

namespace Transportr
{
    public class RouteItemViewModel : BaseItemViewModel
    {
        private string mRouteId;
        private string mRouteName;
        private List<FavoriteStore.Segment> mRouteSegments;

        public string RouteId
        {
            get { return mRouteId; }
            set
            {
                if (value != mRouteId)
                {
                    mRouteId = value;
                    NotifyPropertyChanged("RouteId");
                }
            }
        }
        public string RouteName
        {
            get { return mRouteName; }
            set
            {
                if (value != mRouteName)
                {
                    mRouteName = value;
                    NotifyPropertyChanged("RouteName");
                }
            }
        }
        public List<FavoriteStore.Segment> RouteSegments
        {
            get { return mRouteSegments; }
            set
            {
                if (value != mRouteSegments)
                {
                    mRouteSegments = value;
                    NotifyPropertyChanged("RouteSegments");
                }
            }
        }
    }
}